package com.test.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * MemberType entity. @author MyEclipse Persistence Tools
 */

public class MemberType implements java.io.Serializable {

	// Fields

	private Integer id;
	private String memberName;
	private Integer upgradeStandar;
	private Double discount;
	private Set userInfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public MemberType() {
	}

	/** minimal constructor */
	public MemberType(String memberName, Integer upgradeStandar, Double discount) {
		this.memberName = memberName;
		this.upgradeStandar = upgradeStandar;
		this.discount = discount;
	}

	/** full constructor */
	public MemberType(String memberName, Integer upgradeStandar,
			Double discount, Set userInfos) {
		this.memberName = memberName;
		this.upgradeStandar = upgradeStandar;
		this.discount = discount;
		this.userInfos = userInfos;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMemberName() {
		return this.memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public Integer getUpgradeStandar() {
		return this.upgradeStandar;
	}

	public void setUpgradeStandar(Integer upgradeStandar) {
		this.upgradeStandar = upgradeStandar;
	}

	public Double getDiscount() {
		return this.discount;
	}

	public void setDiscount(Double discount) {
		this.discount = discount;
	}

	public Set getUserInfos() {
		return this.userInfos;
	}

	public void setUserInfos(Set userInfos) {
		this.userInfos = userInfos;
	}

}